package cn.trigram.example.designpattern.fsm.listener;


import cn.trigram.example.designpattern.fsm.state.AbstractState;

/**
 * 监听状态机发生转变时
 */
public interface TransitionListener {
  void onTransition(AbstractState previousState, AbstractState nextState);
}